# $NetBSD: Makefile,v 1.10 2012/10/05 13:52:03 asau Exp $

DISTNAME=	proxyknife-1.7
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_GNU:=proxyknife/}

MAINTAINER=	schwarz@NetBSD.org
HOMEPAGE=	https://www.gnu.org/software/proxyknife/proxyknife.html
COMMENT=	Proxyknife is a tool to validate free proxies
LICENSE=	gnu-gpl-v3

GNU_CONFIGURE=		YES
INFO_FILES=		YES
USE_PKGLOCALEDIR=	YES
USE_TOOLS+=		perl gmake
USE_FEATURES+=		snprintf

CONFIGURE_ARGS+=	--docdir=${PREFIX}/share/doc/proxyknife
CPPFLAGS.SunOS+=	-DHAVE_LOCALE_H # apparently not automatically detected

CONF_FILES=	${DESTDIR}${PREFIX}/share/doc/proxyknife/example/proxyknife.conf.example ${DESTDIR}${PKG_SYSCONFDIR}/proxyknife.conf

.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
